package com.mane.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mane.entity.DTO.LoginDTO;
import com.mane.entity.VO.RouterVo;
import com.mane.pojo.Menu;
import com.mane.pojo.User;

import java.util.List;

public interface IMenuService extends IService<Menu> {

    List<Menu> listTreeMenusByUsername(String username);

    List<RouterVo> buildMenus(List<Menu> menus);
}
